package com.jhgsys.internal.incentive.service;

import com.jhgsys.internal.incentive.entity.IncentiveRewardClauseRule;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 奖励条款规则 Service接口
 *
 * @author zjb
 * @date 2024-08-30 09:51:15
 */
public interface IIncentiveRewardClauseRuleService extends IService<IncentiveRewardClauseRule> {
    /**
     * 查询（分页）
     * @author zjb
     * @date 2024-08-30 09:51:15
     * @param request QueryRequest
     * @param incentiveRewardClauseRule incentiveRewardClauseRule
     * @return IPage<IncentiveRewardClauseRule>
     */
    IPage<IncentiveRewardClauseRule> findIncentiveRewardClauseRulePage(QueryRequest request, IncentiveRewardClauseRule incentiveRewardClauseRule);

    /**
     * 查询（所有）
     * @author zjb
     * @date 2024-08-30 09:51:15
     * @param incentiveRewardClauseRule incentiveRewardClauseRule
     * @return List<IncentiveRewardClauseRule>
     */
    List<IncentiveRewardClauseRule> findIncentiveRewardClauseRuleList(IncentiveRewardClauseRule incentiveRewardClauseRule);

    /**
    * 根据ID查询
    * @author zjb
    * @date 2024-08-30 09:51:15
    * @param id
    * @return IncentiveRewardClauseRule
    */
    IncentiveRewardClauseRule findIncentiveRewardClauseRuleById(String id);

    /**
     * 新增
     * @author zjb
     * @date 2024-08-30 09:51:15
     * @param incentiveRewardClauseRule incentiveRewardClauseRule
     */
    void createIncentiveRewardClauseRule(IncentiveRewardClauseRule incentiveRewardClauseRule);

    /**
     * 修改
     * @author zjb
     * @date 2024-08-30 09:51:15
     * @param incentiveRewardClauseRule incentiveRewardClauseRule
     */
    void updateIncentiveRewardClauseRule(IncentiveRewardClauseRule incentiveRewardClauseRule);

    /**
     * 逻辑删除
     * @author zjb
     * @date 2024-08-30 09:51:15
     * @param incentiveRewardClauseRule incentiveRewardClauseRule
     * @param incentiveRewardClauseRuleIds incentiveRewardClauseRuleIds
     */
    void deleteIncentiveRewardClauseRule(IncentiveRewardClauseRule incentiveRewardClauseRule,String incentiveRewardClauseRuleIds);

    /**
    * 物理删除
    * @author zjb
    * @date 2024-08-30 09:51:15
    * @param incentiveRewardClauseRuleIds incentiveRewardClauseRuleIds
    */
    void physicallyDeleteIncentiveRewardClauseRule(String incentiveRewardClauseRuleIds);
}
